typically echo their input, this usually suffices to show
both sides of the conversation. If eeeexxxxpppp____llllooooggggffffiiiilllleeee is also
nonzero, this same output is written to the stream defined
by eeeexxxxpppp____llllooooggggffffiiiilllleeee. If eeeexxxxpppp____llllooooggggffffiiiilllleeee____aaaallllllll is non-zero, eeeexxxxpppp____llllooooggggffffiiiilllleeee
is written regardless of the value of eeeexxxxpppp____lllloooogggguuuusssseeeerrrr.
DDDDEEEEBBBBUUUUGGGGGGGGIIIINNNNGGGG
While I consider the library to be easy to use, I think that
the standalone expect program is much, much, easier to use
than working with the C compiler and its usual edit,
compile, debug cycle. Unlike typical C programs, most of
the debugging isn't getting the C compiler to accept your
programs - rather, it is getting the dialogue correct.
Also, translating scripts from expect to C is usually not
necessary. For example, the speed of interactive dialogues
is virtually never an issue. So please try the standalone
'expect' program first. I suspect it is a more appropriate
solution for most people than the library.
Nonetheless, if you feel compelled to debug in C, here are